package lab14PeopleStuff;

public class SomeStuff {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		IWorker adolf = new German();
		IWorker pesho = new Bulgarian();
		IWorker sokrat = new Greek();
		
		adolf.goToWork();
		pesho.goToWork();
		sokrat.goToWork();
		
		((IHusband)pesho).buyFlowersForWife();
		((ITaxPayer)sokrat).payTax();
	}

}
